import Mock from "mockjs";
import banner from "./banner.json";
import floor from "./floor.json"

//banner数据请求接口
Mock.mock("/mock-api/banner", "get", () => {
  return {
    code: 200,
    data: banner,
  };
});
//楼层数据请求接口
Mock.mock("/mock-api/floor", "get", () => {
  return {
    code: 200,
    data: floor,
  };
});
